package com.example.springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboot.entity.RouteDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface RouteDetailMapper extends BaseMapper<RouteDetail> {
    
    @Select("SELECT * FROM route_detail WHERE route_id = #{routeId}")
    RouteDetail selectByRouteId(@Param("routeId") Long routeId);
}